package com.gwnet.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gwnet.user.domain.SmsLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 短信记录表 Mapper 接口
 * </p>
 *
 * @author WangLiang
 * @since 2024-07-20
 */
@Mapper
public interface SmsLogMapper extends BaseMapper<SmsLog> {
    /**
     * 失效短信记录
     * @param phone 电话号码
     * @param type 类型
     */
    void invalidSmsByMobileAndType(@Param("phone") String phone, @Param("type") Integer type);

}
